atspi: Make text change notification work
authorMatthias Clasen <mclasen@redhat.com>
Tue, 13 Oct 2020 04:50:19 +0000 (00:50 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 13 Oct 2020 13:44:04 +0000 (09:44 -0400)
commitbf0f3a82cfd497ef1185b1c62472b2155e46105e
treed24a8a17cfa2a934e4897ab537215d2de99a6cfe
parenta02c50e72fb6f5b883d1b036be569771f948293e
atspi: Make text change notification work

Make text change notification work for editables, by connecting
to the ::insert-text and ::delete-text signals on the wrapped
GtkText widget, and for GtkTextView by connecting to the
corresponding GtkTextBuffer signals.

This code is more or less directly copied from GtkTextViewAccessible
and GtkEntryAccessible in GTK 3.
gtk/a11y/gtkatspicontext.c
gtk/a11y/gtkatspitext.c
gtk/a11y/gtkatspitextprivate.h